<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生端-修改信息</title>
    <jsp:include page="../header.jsp"></jsp:include>
</head>
<body>
<div class="container">
    <hr>
    <div class="row">
        <div class="col-xs-2 col-md-3">
            <nav aria-label="...">
                <ul class="pager">
                    <li class="previous"><a href="${pageContext.request.contextPath}/student/home.jsp"><span aria-hidden="true">&larr;</span>返回</a></li>
                </ul>
            </nav>
        </div>
        <div class="col-xs-8 col-md-6">
            <form action="${pageContext.request.contextPath}/student/modifyInformationServlet" method="post">
                <div class="form-group">
                    <label for="example1">学号：</label>
                    <input type="text" class="form-control " id="example1" name="sid" value="${sessionScope.loginStudent.sid}" readonly>
                </div>
                <div class="form-group">
                    <label for="example2">姓名：</label>
                    <input type="text" class="form-control " id="example2" name="sname" value="${sessionScope.loginStudent.sname}" readonly>
                </div>
                <div class="form-group">
                    <label for="example3">邮箱：</label>
                    <input type="text" class="form-control " id="example3" name="email" value="${sessionScope.loginStudent.email}">
                </div>
                <div class="form-group">
                    <label for="example4">电话：</label>
                    <input type="text" class="form-control " id="example4" name="tel" value="${sessionScope.loginStudent.tel}">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">密码：(不填则不修改密码)</label>
                    <input type="password" class="form-control" id="exampleInputPassword1" name="pwd" placeholder="Password">
                </div>
                <button type="submit" class="btn btn-default">Submit</button>
            </form>
        </div>
    </div>
</div>
<jsp:include page="../footer.jsp"></jsp:include>
</body>
</html>
